package net.jjjshop.common.entity.lbt;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抽奖记录表
 */
@Data
@TableName("lb_lottery_order")
public class LbLotteryOrder implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 抽奖时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date time;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	private Integer uid;

	/**
	 * 订单ID
	 */
	@ApiModelProperty(value = "订单号")
	private String orderNo;

	/**
	 * 0,未抽奖，1中奖，2，未中奖
	 */
	@ApiModelProperty(value = "0,未抽奖，1中奖，2，未中奖")
	private  Integer status;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;



	/**
	 * 授权appid
	 */
	@ApiModelProperty(value = "商家表示")
	private  Integer appId;

	/**
	 * 贡献抽奖金额
	 */
	@ApiModelProperty(value = "贡献抽奖金额")
	private  BigDecimal money;

	@TableField(exist = false)
	private String name;
	@TableField(exist = false)
	private String mobile;


	
}
